var dataL = [
    	[1, 23, 1],
    	[1, 2, 3]
    ];
    let result = [];
    for (let key in dataL) {
    	//遍历数组的每一项
    	dataL[key].forEach((value, index) => {
    		if (isBlank(result[index])) {
    			result[index] = 0;
    		}
    		result[index] += value;
    	})
    }
    //判断值是否存在函数
    function isBlank(val) {
    	if (val == null || val == "") {
    		return true;
    	}
    }
    console.log(result);
	
	
	var arr1 = [1,2,3,4,5,6];
		var arr2 = [11,12,13,14,15,16];
	    var arr3 = [10,21,31,41,51,61];
	    var sum = {arr1,arr2,arr3}; 
	    //保存结果的数组
	    var result = [];  
	    for(var key in sum ){
	        //遍历数组的每一项
	        $.each(sum [key],function(index,val){
	            if( result[index] == null ||  result[index] == ""){
	                result[index] = 0 ;
	            }
	            result[index] += val ;
	        })
	    }
	    //打印结果
	    console.log(result);  //[22, 35, 47, 59, 71, 83]

